﻿CREATE PROCEDURE [dbo].[proc_ProT_ClassT1]
(
	@id INT	
)

AS
BEGIN
IF @id=0
BEGIN
	SELECT * FROM [ProT_ClassT1]
END
	ELSE
		BEGIN
			SELECT ClassName FROM [ProT_ClassT1] WHERE id=@id
		END

	SET NOCOUNT ON;


END
